Searching Directories for Dependencies

Contents|Index|Previous|Next
Searching directories for dependencies

For large systems, it is often desirable to put sources in a separate di-rectory from the binaries. The directory search features of make facilitate this by searching several directories automatically to find a dependency. When you redistribute the files among directories, you do not need to change the individual rules, just the search paths.

See the following documentation for more discussion.

- VPATH: search path for all dependencies
- The vpath directive
- Writing shell commands with directory search
- Directory search and implicit rules
- Directory search for link libraries

Top|Contents|Index|Previous|Next